home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
9-Digit Zip Code Directory
/
9-Digit Zip Code Directory (American Business Information) (ABIZIP-12).ISO
/
z4src.zip
/
VXTHREAD.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1993-08-24
|
3KB
|
83 lines
//----------------------------------------------------------------------------
// MODULE DESCRIPTION
//
// Module: vxthread.hpp
// Title: VOX and ME/2 Interface
// Notice: John M. Weeder
// Copyright (c) 1993. All rights reserved.
// This module contains proprietary information and should be
// treated as confidential.
//
//----------------------------------------------------------------------------
// MAINTENANCE HISTORY
//
// $Workfile$
// $Revision$
// $Author$
// $Date$
// $Log$
//
//----------------------------------------------------------------------------
// MODULE NARRATIVE
//
// This module contains code for the class VX_THREAD.
//
// The code in this module may be written in C++ or C.
//
// This module is portable to:
// DOS 3.X+
// MS Windows 3.X+
// OS/2 2.X+
// OS/2 2.0 PM
//
// The following compilers are supported:
// MSC 6.0A
// MSC/C++ 7.0
// Borland C++ 3.1 for DOS
// Borland C++ 1.0 for OS/2 2.X
//
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
// Menu options
//----------------------------------------------------------------------------
#define VX_MENU_FAIL (-1)
#define VX_MENU_ESCAPE (-2)
#define VX_REC_UNIQUE (0x0001) // Select unique message number
#define VX_REC_TEMP (0x0002) // Select a temporary file name
#define VX_REC_SHAVE (0x0004) // Shave message
#define VX_REC_BEEP (0x0008) // Beep before record
//----------------------------------------------------------------------------
// Class VX_THREAD
//----------------------------------------------------------------------------
CLASSDEF(VX_THREAD);
#define VX_THREAD_PARENT VX_VOX
class CLASSTYPE VX_THREAD : public VX_THREAD_PARENT, virtual public CL_THREAD
{
public:
FN_M VX_THREAD();
FN_M VX_THREAD(RCVX_THREAD);
virtual FN_M ~VX_THREAD();
virtual VOID FN_M Call() = 0;
virtual BOOL FN_M Destroy(BOOL = TRUE);
virtual BOOL FN_M Initialize(SHORT = CL_INIT_ALL);
virtual BOOL FN_M IsError() const;
virtual BOOL FN_M IsValid() const;
SHORT FN_M Menu(RVX_PROMPT, FLAG16);
RCVX_THREAD FN_M operator=(RCVX_THREAD);
BOOL FN_M Query(RVX_PROMPT, PSZ, SIZET, SIZET);
BOOL FN_M Record(PSZ, RVOXMSG, USHORT = 0);
BOOL FN_M RecordMenu(RVX_PROMPT, PSZ, RVOXMSG, FLAG16 = 0);
virtual BOOL FN_M Retrieve(PCSZ, PCSZ = NULL);
virtual BOOL FN_M Store(PCSZ, PCSZ = NULL);
VOID FN_M Thread();
};
//----------------------------------------------------------------------------
//------------------------------- End of File --------------------------------
//----------------------------------------------------------------------------